home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1988 September
/
64er_Magazin_88-09_1988_Markt__Technik_de_Side_A.d64
/
n analyse
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
302b
|
18 lines
0 a$(0)="elite"
1 a$(1)="proportional"
2 a$(2)="schmal"
3 a$(3)="fett"
4 a$(4)="doppel"
5 a$(5)="breit"
6 a$(6)="kursiv"
7 a$(7)="unterstreichen"
8 :
10 input"wert fuer n";n:print
12 :
20 for i = 7 to 0 step -1
30 : if n < 2^i then 70
40 : print a$(i)
50 : n = n - 2^i
60 : if n <= 0 then end
70 next i